package com.yxkj.railservicer.util;

/**
 * Created by sunyu on 2017/2/25.
 */

public class ContentUtil {
    //基本接口
//    public static final String base_url = "http://192.168.188.28:8080";
//    public static final String base_url = "http://119.23.134.10:80/RailwayService";
    public static final String base_url = "http://szeiv.com/RailwayService";
    //获取RSA加密公钥接口
    public static final String RSA_url = base_url + "/common/rsaKey";
    //加密盐接口
    public static final String tokenSalt_url = base_url + "/serviceProvider/tokenSalt";
//    public static final String tokenSalt_url = base_url + "/common/tokenSalt";
    //登录接口
    public static final String login_url = base_url + "/serviceProvider/login";
    //发送短信接口
    public static final String message_url = base_url + "/serviceProvider/sendShortMessage";
    //短信登录接口
    public static final String message_login_url = base_url + "/serviceProvider/shortMessageLogin";
    //短信验证改密接口
    public static final String message_change_url = base_url + "/serviceProvider/changePasswordByPhoneNo";
    //退出登录接口
//    public static final String quit_url = base_url + "/common/tokenLogout";
    public static final String quit_url = base_url + "/serviceProvider/tokenLogout";
    //配送员查询定单接口
    public static final String query_url = base_url + "/deliver/queryOrders";
    //推送消息接口
    public static final String pushMessage_url = base_url + "/channel/testSendMsg";
    //统计今天完成的订单
    public static final String countOrder_url = base_url + "/deliver/countOrdersToday";
    //配送员接受定单
    public static final String acceptOrder_url = base_url + "/deliver/acceptOrder";
    //配送员确认已取货
    public static final String getOrderGoods_url = base_url + "/deliver/getOrderGoods";
    //配送员送达商品
    public static final String deliveredGoods_url = base_url + "/deliver/deliveredGoods";
    //判断是否登录过
    public static final String tokenUser_url = base_url + "/serviceProvider/tokenUser";
    //今日已经完成订单
    public static final String queryCompleteOrdersToday_url = base_url + "/deliver/queryCompleteOrdersToday";
    //今日被取消订单
    public static final String queryCancelOrdersToday_url = base_url + "/deliver/queryCancelOrdersToday";
    //配送员短信通知客户取货接口
    public static final String noticeUserGet_url = base_url + "/deliver/noticeUserGet";
    //同意用户取消订单接口
    public static final String agreeCancelOrder_url = base_url + "/deliver/agreeCancelOrder";
    //拒绝用户取消订单接口
    public static final String refuseCancelOrder_url = base_url + "/deliver/refuseCancelOrder";


//    public static final String tokenUser_url = base_url + "/common/tokenUser";

    //心跳接口
    //参数：channelId
    //deviceType：ios或者android
    //status 当前状态：6001 休息 6002 工作
    public static final String heart_break_url = base_url + "/channel/serviceProviderHeartBreak";
//    public static final String heart_break_url = base_url + "/channel/heartBreak";

    //设置工作状态接口
    //参数：channelId
    //deviceType：ios或者android
    //status 当前状态：6001 休息 6002 工作
    //该接口与心跳接品的区别是：会设置Merchant和ServiceProvider表的status字段
    public static final String set_work_status_url = base_url + "/channel/serviceProviderWorkStatus";
//    public static final String set_work_status_url = base_url + "/channel/setWorkStatus";
}
